package com.wl.day74.action;

import com.wl.day74.model.AjaxMsgModel;

public class BaseAction {
	public AjaxMsgModel getJsonModel(String status, String message, String refreshTab, boolean isCloseCurrent) {
		String closeCurrentString = isCloseCurrent ? "closeCurrent" : "";
		return new AjaxMsgModel(status, message, refreshTab, "", closeCurrentString, "");
	}
}
